package com.edu.springboot_disk_erban.dao;


import com.edu.springboot_disk_erban.entity.FileByDay;
import com.edu.springboot_disk_erban.entity.FileCounts;
import com.edu.springboot_disk_erban.entity.UserCounts;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface EchartsDao {
    @Select("select * from user_info")
    UserCounts getUserCounts();
    @Select("select * from file_info")
    FileCounts getFileCounts();
    @Select("select * from filebyday_info")
    List<FileByDay> getFileByDayCounts();
    @Select("select * from collectbyday_info")
    List<FileByDay> getCollectByDayCounts();
}
